/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.scene.dao;

import com.lczyfz.istep.common.persistence.CrudDao;
import com.lczyfz.istep.common.persistence.annotation.MyBatisDao;
import com.lczyfz.istep.modules.scene.entity.ScenePort;
import com.lczyfz.istep.modules.scene.entity.SceneVmTemplate;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 端口管理DAO接口
 * @author dh
 * @version 2017-04-17
 */
@MyBatisDao
public interface ScenePortDao extends CrudDao<ScenePort> {
    List<ScenePort> findVmPortList(SceneVmTemplate sceneVmTemplate);
    List<ScenePort> findRouterPortList(@Param("routerId")String routerId);
}